//
//  LzwArtTableCell.m
//  HalfsugarAPP
//
//  Created by 刘志武 on 15/12/31.
//  Copyright © 2015年 刘志武. All rights reserved.
//

#import "LzwArtTableCell.h"

@interface LzwArtTableCell ()

@property (nonatomic, retain) UIImageView *myArtImage;
@property (nonatomic, retain) UILabel *myArtLable;
@property (nonatomic, retain) UIImageView *myArtSmallImage;
@property (nonatomic, retain) UILabel *myLikeLable;

@end


@implementation LzwArtTableCell

-(void)dealloc{
    
    [_myArtImage release];
    [_myArtLable release];
    [_myArtSmallImage release];
    [_myLikeLable release];
    [super dealloc];
    
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if (self) {
        [self creatArtView];
    }
    return self;
}

- (void)creatArtView{
    
    self.myArtImage = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 375, 180)];
    self.myArtImage.backgroundColor = [UIColor yellowColor];
    [self.contentView addSubview:self.myArtImage];
    
    
    
}


@end
